article, section, aside, hgroup, nav, header, footer, figure, figcaption {
    display: block;
}

body{
    font-family: Cambria, Georgia, 'Times New Roman', serif;
    background-color: #FFFACD;
    /*background-color: #FFFFF0;*/
    /*background: linear-gradient(top, #1e4a7a, #b3c5d9);
    background: -moz-linear-gradient(top, #1e4a7a, #b3c5d9);
    background: -webkit-linear-gradient(top, #1e4a7a, #b3c5d9);*/
    /*background: url(../images/index_background.png);*/
    display: block;
}

#outer_wrapper{
    margin: auto;
    width: 1000px;
    border: 2px solid #FFD700;
    border-top: none;
}

header{
    background-image: url(../images/plugs.jpg);
    position: relative;
    text-align: center;
    width: 1000px;
    height: 244px;
}

#outer_header{
    background: rgba(255, 255, 255, 0.5);
    position: absolute;
    text-align: center;
    vertical-align: middle;
    width: 1000px;
    height: 213px;
    margin: 0;
}

#outer_header h1{
    text-shadow: 5px 6px 5px black, 0px 0px 50px yellow;
    margin-top: 50px;
    position: relative;
    font-size: 70px;
}

h1, h2, h3 {
    color: #FFFFFF;
    text-shadow: 3px 3px 5px #000000;
}

a{
    outline: none;
    text-decoration: none;
}

#main_links{
    background-color: rgba(255, 255, 0, 0.2);
    margin: 0;
    width: 1000px;
    height: 35px;
    color: black;
    background-image: -webkit-linear-gradient(top, rgba(255, 255, 0, 0), rgba(255, 185, 15, 0.8));
    background-image: -moz-linear-gradient(top, rgba(255, 255, 0, 0), rgba(255, 185, 15, 0.8));
    background-image: -o-linear-gradient(top, rgba(255, 255, 0, 0), rgba(255, 185, 15, 0.8));
    background-image: -ms-linear-gradient(top, rgba(255, 255, 0, 0), rgba(255, 185, 15, 0.8));
    background-image: linear-gradient(top, rgba(255, 255, 0), rgba(255, 185, 15, 0.8));

}

#main_links ul li{
    display: inline;
    float: left;
}

#main_links ul li a{
    width: 110px;
    height: 32px;
    padding-top: 3px;
    padding-bottom: 0%;
    display: block;
    color: #000000;
    margin-top: 0px;
    font: 18px/1.5 Helvetica, Arial, sans-serif;
    vertical-align: center;
    transition: All 1s ease;
    -webkit-transition: All 0.5s ease;
    -moz-transition: All 0.5s ease;
    -o-transition: All 0.5s ease;
}

#main_links ul li a:visited{
    color: #000000;
}

#main_links ul li a:hover{	
    background-color: rgba(255, 255, 0, 0.8);
    background-image: -webkit-linear-gradient(top, rgba(255, 255, 0, 0), rgba(255, 185, 15, 0.2));
    background-image: -moz-linear-gradient(top, rgba(255, 255, 0, 0), rgba(255, 185, 15, 1));
    background-image: -o-linear-gradient(top, rgba(255, 255, 0, 0), rgba(255, 185, 15, 0.2));
    background-image: -ms-linear-gradient(top, rgba(255, 255, 0, 0), rgba(255, 185, 15, 0.2));
    background-image: linear-gradient(top, rgba(255, 255, 0), rgba(255, 185, 15, 0.2));
}

aside{
    width: auto;
    height: auto;
    float: left;
    padding: 5px 1px 5px 1px;
    margin-left: 15px;
}

#tabs{
    margin: 0px;
    margin-top: -5px;
    padding: 0px;
    width: 200px;
    height: 35px;
    font-size: 0px;
    text-align: center;
    display: inline-block;
}

#tabs /*input*/ button{
    left: 0;
    display: block;
    overflow: hidden;
    text-align: center;
    padding: 0px 2px 2px 2px;
    height: 28px;
    width: 100px;
    float: left;
    position: relative;
    font: 16px/1.5 Helvetica, Arial, sans-serif;
}

.btnOn{
    background-color: rgba(255, 255, 0, 0.2);
    color: black;
    border: 2px solid #FFD700;
    border-bottom: none;
    text-align: center;
    background-image: -webkit-linear-gradient(top, rgba(255, 185, 15, 0.8), rgba(255, 255, 0, 0));
    background-image: -moz-linear-gradient(top, rgba(255, 185, 15, 0.8), rgba(255, 255, 0, 0));
    background-image: -o-linear-gradient(top, rgba(255, 185, 15, 0.8), rgba(255, 255, 0, 0));
    background-image: -ms-linear-gradient(top, rgba(255, 185, 15, 0.8), rgba(255, 255, 0, 0));
    background-image: linear-gradient(top, rgba(255, 185, 15, 0.8), rgba(255, 255, 0, 0));
}

.btnOn:hover{
    cursor: pointer;
}

.btnOff{
    background: #708090;
    color: white;
    text-align: center;
    border: 2px solid #708090;
    border-bottom: 2px solid #FFD700;
}

.btnOff:hover{
    background-color: rgba(255, 255, 0, 0.2);
    cursor: pointer;
    border: 2px solid rgba(255, 185, 15, 0.8);
    background-image: -webkit-linear-gradient(top, rgba(255, 185, 15, 0.8), rgba(255, 255, 0, 0));
    background-image: -moz-linear-gradient(top, rgba(255, 185, 15, 0.8), rgba(255, 255, 0, 0));
    background-image: -o-linear-gradient(top, rgba(255, 185, 15, 0.8), rgba(255, 255, 0, 0));
    background-image: -ms-linear-gradient(top, rgba(255, 185, 15, 0.8), rgba(255, 255, 0, 0));
    background-image: linear-gradient(top, rgba(255, 185, 15, 0.8), rgba(255, 255, 0, 0));
    color: black;
}

#linkList{
    background-color: rgba(255, 255, 0, 0.2);
    border-bottom: 2px solid #FFD700;
    border-left: 2px solid #FFD700;
    border-right: 2px solid #FFD700;
    display: block;
    margin: 0px;
    margin-top: -11px;
    padding-top: 2px;
    -webkit-border-radius: 0px 0px 15px 15px;
    -moz-border-radius: 0px 0px 15px 15px;
    border-radius: 0px 0px 15px 15px;
}

#linkList ul{
    list-style: none;
}

#linkList ul li{    
    margin: 0;
    margin-top: 3px;
    margin-left: -31px;
    position: relative;
}

#linkList ul li a{
    color: black;
    /*background: url(../images/flags/russia.png) no-repeat;*/
    height: 22px;
    width: 149px;
    font: 13px/1.5 Helvetica, Arial, sans-serif;
    display: block;
    padding-left: 30px;
    transition: All 1s ease;
    -webkit-transition: All 0.5s ease;
    -moz-transition: All 0.5s ease;
    -o-transition: All 0.5s ease;
}

#linkList ul li a:hover{
    background: rgba(255, 255, 0, 0.5) no-repeat;
}

#main_content{
    margin: 0px;
    /*border: 2px solid black;*/
    width: 740px;
    float: right;
    padding: 5px 5px 5px 5px;
}

#plugsTable{
    clear: both;
    display: block;
    text-align: center;
    margin: 0;
    padding: 0;
}

.pic{
    text-align: center;
    width: 175px;
    padding: 5px;
}

.pic figure{
    width: 150px;
    clear: both;
    margin: 0;
}

footer{
    clear: both;	
    background-color: #CCCC33;
    position: relative;
    text-align: center;
    height: 20px;
}